function waiting_init()
{
	document.write("<div name='div_waiting' id='div_waiting' style='position:absolute; display:none;" +
				   "left:0px; top:0px; width:200px; height:47px; z-index:9999;background:url(../static/images/waiting/waiting_bg.png) repeat-x;border:1px solid #666;'><img src=\"../static/images/waiting/loading1.gif\" style='margin-left:10px;' align=\"absmiddle\">&nbsp;<span style=\"color:#666;font-size:14px;height:48px;line-height:48px;font-weight:bold;\">数据加载中，请稍候...</span></div>");  
	   
}
waiting_init();
function waiting()
{
	
	document.getElementById("div_waiting").style.left = (document.body.offsetWidth - parseInt(document.getElementById("div_waiting").style.width))/2 + 'px';
	document.getElementById("div_waiting").style.top = (document.body.offsetHeight - parseInt(document.getElementById("div_waiting").style.height))/2 + 'px';
	document.getElementById("div_waiting").style.display = "";
}
function waiting_stop()
{
	eval("div_waiting").style.display = "none";
}
